package com.ydx.mapper;

import com.ydx.entity.Patrol;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ydx.entity.PatrolAndShiyanshi;

import java.util.List;

/**
* @author zero
* @description 针对表【patrol】的数据库操作Mapper
* @createDate 2024-06-19 10:03:07
* @Entity com.ydx.entity.Patrol
*/
public interface PatrolMapper extends BaseMapper<PatrolAndShiyanshi> {
    List<PatrolAndShiyanshi> selectMore();


    List<PatrolAndShiyanshi>  selectWodePatrol(int userid);

    boolean  UpdateNewPatrol(Patrol patrol);
    boolean saveNew(Patrol patrol);
    boolean deletepatrol(int patrolid);
    List<PatrolAndShiyanshi> selectMore2(String door,String device);
    List<PatrolAndShiyanshi> selectMore3(String device, String door, int userid);
}




